package events.packageEvents;

import layers.physical.Package;
import framework.events.Event;

public class PackageDeliveredEvent extends Event {

	private int packageId;
	
	public PackageDeliveredEvent(Package pack){
		this.packageId = pack.getId();
	}
	
	public int getPackageId(){
		return this.packageId;
	}
	
	public String toString(){
		return "Package " + packageId + "delivered";
	}
}
